Support TOSCA 1.3 to separate capability Compute from capability Container #599
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request description
This PR supports the TOSCA profile v1.3 which introduces the new capability
tosca.capabilities.Compute
derived fromtosca.capabilities.Container
as described in GH-589Description of the change
What I did
tosca.capabilities.Compute
indata / tosca / normative-types.yml
.tosca.nodes.Compute
andtosca.nodes.WebServer
node to have the new requirement from typetosca.capabilities.Compute
(instead oftosca.capabilities.Container
).tosca.capabilities.Container
as they are hosted on atosca.nodes.SoftwareComponent
.How to verify it
tosca-normative-types
from a4c with the PR Add tosca.capabilities.Compute as in profile v1.3 alien4cloud/tosca-normative-types#2 to add the new capability typetosca.capabilities.Compute
.Description for the changelog
Support TOSCA 1.3 to separate capability Compute from capability Container
Applicable Issues
No issues if you have a new setup. But for existing ones, upgrade existing tosca types in a4c is difficult and I do not know how to do it properly.